package com.larry.design.structural.proxy.statics;

/**
 * @author larry
 * @Title: design-frame
 * @Package com.larry.design.structural.proxy.statics
 * @Description: TODO
 * @date 9/1/2110:40 AM
 */
public class TikTokProxy implements ManTikTok {

    private ManTikTok manTikTok;//被代理对象

    public TikTokProxy(ManTikTok manTikTok) {
        this.manTikTok = manTikTok;
    }

    public void tiktok() {
        System.out.println("代理在运行..... ");
        manTikTok.tiktok();
    }
}
